/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pb.diplom.first.tables;

import java.math.BigDecimal;

/**
 * t1.model, t2.name_manufacturer, t3.name_category, t1.description, t1.price,
 * t1.storage
 *
 * @author Slava
 */
public class CommodityJoin {

    private Long id;
    private String model;
    private String nameManufacturer;
    private String nameCategory;
    private String description;
    private BigDecimal price;
    //private String image;
    private String storage;

    public CommodityJoin() {

    }

    public CommodityJoin(String model, String nameManufacturer, String nameCategory, String description, BigDecimal price, String storage) {

        this.model = model;
        this.nameManufacturer = nameManufacturer;
        this.nameCategory = nameCategory;
        this.description = description;
        this.price = price;
        this.storage = storage;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
    

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getNameManufacturer() {
        return nameManufacturer;
    }

    public void setNameManufacturer(String nameManufacturer) {
        this.nameManufacturer = nameManufacturer;
    }

    public String getNameCategory() {
        return nameCategory;
    }

    public void setNameCategory(String nameCategory) {
        this.nameCategory = nameCategory;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    @Override
    public String toString() {
        return "CommodityJoin{" + "model=" + model + ", nameManufacturer=" + nameManufacturer + ", nameCategory=" + nameCategory + ", description=" + description + ", price=" + price + ", storage=" + storage + '}';
    }
    
    

    

}
